package com.itheima.reggie.constants;

import com.sun.javafx.font.PrismFontStrike;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author: Jetwang
 * @date: 2022/4/10 20:38
 * @description: Constant 存放常量
 * @version: 1.0
 */
@Component
public class Constant {
    public static final String LOGIN_SESSION = "employee_id";

    public static final String CACHE_DISH = "cache:dish:";

    public static String BASE_PATH;

    @Value("${reggie.path}")
    private void setUploadPath(String uploadPath) {
        BASE_PATH = uploadPath;
    }
}
